package com.zuoye.day10;

public class Company {
    public int comId;
    public String comName;
    public String comType;
    public String comLabel;//标签
    private final Position[] positions = new Position[5];


    public Company(){}

    public Company(int comId, String comName, String comType, String comLabel) {
        this.comId = comId;
        this.comName = comName;
        this.comType = comType;
        this.comLabel = comLabel;
    }

    public int getComId() {
        return comId;
    }

    public void setComId(int comId) {
        this.comId = comId;
    }

    public String getComName() {
        return comName;
    }

    public void setComName(String comName) {
        this.comName = comName;
    }

    public String getComType() {
        return comType;
    }

    public void setComType(String comType) {
        this.comType = comType;
    }

    public String getComLabel() {
        return comLabel;
    }

    public void setComLabel(String comLabel) {
        this.comLabel = comLabel;
    }

    public void postPosition(Position position,Company another){



        if ((this.comId != another.comId)){

        }

    }



    @Override
    public String toString() {
        return "Company{" +
                "comId=" + comId +
                ", comName='" + comName + '\'' +
                ", comType='" + comType + '\'' +
                ", comLabel='" + comLabel + '\'' +
                '}';
    }


}
